package com.ks;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient //开启Eureka 客户端
@EnableFeignClients(basePackages = {"com.ks.service"}) // 扫描 接口模块的 业务层包

public class DeptConsumerFeign_80 {

    public static void main(String[] args) {

        SpringApplication.run(DeptConsumerFeign_80.class, args);
    }

}
